#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "CommonProtocols.h"

@interface BackgroundLayer : CCLayer {
    Turn turn;
    Turn turnCurrent;
    float angle;
    
    CCSprite *backgroundImageScroll;
    CCSprite *backgroundImageAnimated;
    CCParallaxNode *parallaxNode;
    //CCAnimation *backgroundImage1;
    CCAction *actionBackgroundStright;
    CCAction *actionBackgroundLeft;
    CCAction *actionBackgroundRight;
    
}
@property (readwrite) Turn turn;
@property (readwrite) float angle;


+(BackgroundLayer*) sharedBackgroundLayer;

@end
